]> dgit.raspbian.org Git - linux-4.9.git/commit
vcsm: Treat EBUSY as success rather than SIGBUS
authorpopcornmix <popcornmix@gmail.com>
Tue, 2 May 2017 15:36:05 +0000 (16:36 +0100)
committerpopcornmix <popcornmix@gmail.com>
Thu, 4 May 2017 16:45:10 +0000 (17:45 +0100)
commit56842841fe14c92156e9fa68aa7d153eeb89378b
tree64c8e73a2c079a1f791e57b5aa99c7710493692e
parente1b1d822c7a3cdfb9def9e30c52e2b5aac819fe7
vcsm: Treat EBUSY as success rather than SIGBUS

Currently if two cores access the same page concurrently one will return VM_FAULT_NOPAGE
and the other VM_FAULT_SIGBUS crashing the user code.

Also report when mapping fails.

Signed-off-by: popcornmix <popcornmix@gmail.com>
drivers/char/broadcom/vc_sm/vmcs_sm.c